package com.example.transactionhintassistant.service;

import com.example.transactionhintassistant.pojo.dto.ringtone.AddRingtoneDto;
import com.example.transactionhintassistant.pojo.dto.ringtone.ChangeRingtoneDto;
import com.example.transactionhintassistant.pojo.entity.Ringtone;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.transactionhintassistant.pojo.vo.RingtoneVo;
import com.example.transactionhintassistant.utils.result.Result;

import java.util.List;

/**
* @author 86147
* @description 针对表【ringtones(铃声表)】的数据库操作Service
* @createDate 2024-03-04 22:32:13
*/
public interface RingtonesService extends IService<Ringtone> {
    Result<List<RingtoneVo>> getAllRingtones();
    Result<Object> addRingtone(AddRingtoneDto addRingtoneDto);
    Result<Object> changeRingtone(ChangeRingtoneDto changeRingtoneDto);
    Result<Object> deleteRingtone(Integer id);

    boolean isRingtoneExists(Integer ringtoneId);
}
